<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	template="/templates/template_basic.xhtml">
	<ui:define name="title">
		#{msgs['home.title']}
	</ui:define>
	<ui:define name="content">
		<h:form id="formParams">
			<p:growl id="messages" showDetail="true" sticky="true"
				autoUpdate="true" life="1" />
				<div align="center">
					<p:dataTable var="params" value="#{paramsBean.params}">  
        				<p:column headerText="#{msgs['params.label.param']}">
							<p:outputLabel value="#{msgs[params.key.i18nKey]}:" />
						</p:column>
        				<p:column headerText="#{msgs['params.label.value']}">
							<p:inputText value="#{params.value}" style="width:100%;"/>
						</p:column>
					</p:dataTable>
					<br />
					<p:commandButton value="#{msgs['params.button.save']}"
						action="#{paramsBean.save}" />
				</div>
		</h:form>
	</ui:define>
</ui:composition>